<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE>
<html lang="zh-CN">
<head>

  <%@ include file="/WEB-INF/include/meta.jsp"%>
  <%@ include file="/WEB-INF/include/css.jsp"%>
  
  <title></title>
  
</head>
<body>

  <%@ include file="/WEB-INF/include/header.jsp" %>
  
  <%@ include file="/WEB-INF/include/subheader.jsp" %>

  <c:if test="${not empty message}">
    <div class="alert alert-danger"><strong>${message}</strong></div>
  </c:if>
  
  <div class="container">
  
    <form class="form-signin" method="post" action="${ctx}/shop/signon.do">
    
      <h2 class="form-signin-heading">Please sign in</h2>
      
      <label for="username" class="sr-only">Username</label>
      <input type="text" name="username" class="form-control" placeholder="Username" required autofocus>
      
      <label for="password" class="sr-only">Password</label>
      <input type="password" name="password" class="form-control" placeholder="Password" required>
      
      <button type="submit" class="btn btn-success btn-lg btn-block btn-signin">Submit</button>
      
      <a href="${ctx}/shop/newAccount.do" class="btn btn-primary btn-lg btn-block btn-signup">Register Now</a>
    </form>
    
  </div>

  <%@ include file="/WEB-INF/include/footer.jsp"%>

  <%@ include file="/WEB-INF/include/script.jsp"%>

</body>
</html>
